Method for operating electronic device, and electronic device

ABSTRACT

A method for operating a first electronic device is provided. The method includes displaying a first graphic element and a first screen part related to a second electronic device on a first display of the first electronic device and detecting movement of the first graphic element in relation to the first screen part. The method also includes displaying a second screen part related to the second electronic device in response to the movement where a second graphic element corresponding to the first graphic element is inserted in the second screen part.

CROSS-REFERENCE TO RELATED APPLICATION(S) AND CLAIM OF PRIORITY

The present application is related to and claims the benefit under 35U.S.C. § 119(a) of a Korean patent application filed in the KoreanIntellectual Property Office on Jul. 14, 2015 and assigned Serial No.10-2015-0099923, the entire disclosure of which is incorporated hereinby reference.

TECHNICAL FIELD

The present disclosure relates to an electronic device and a method foroperating the electronic device.

BACKGROUND

A portable phone is capable of outputting a video displayed on a screen,such as a broadcasting program, to an external device. Its user may viewimages on a larger screen by outputting image data downloaded from a Webserver or captured through a camera to the external device.

Also, a portable phone equipped with a mirroring function is capable ofoutputting a screen to an external device as it is. Its user may viewthe screen (that is, a mirrored screen) of the portable phone on ascreen of the external device and control the portable phone remotely byapplying an input to the mirrored screen using an input device of theexternal device.

Although conventionally, a screen of a portable phone may be displayedon an external device or the portable phone may be controlled remotely,the conventional mirroring method has limitations in easily reflectingdata of the external device in a task (or application) of the portablephone.

Accordingly, there exists a need for a method for easily reflecting dataof an external device in a task (or application) of a portable phone bymirroring.

The above information is presented as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

To address the above-discussed deficiencies, it is a primary object toprovide, for use in an electronic device, a method for easily reflectingdata of an external device in a task (or application) of a portablephone by mirroring.

In accordance with an aspect of the present disclosure, there isprovided a method for operating a first electronic device. The methodincludes displaying a first graphic element and a first screen partrelated to a second electronic device on a first display of the firstelectronic device, detecting movement of the first graphic element inrelation to the first screen part, and displaying a second screen partrelated to the second electronic device in response to the movement, asecond graphic element corresponding to the first graphic element beinginserted in the second screen part.

In accordance with another aspect of the present disclosure, there isprovided a first electronic device. The first electronic device includesa first display, and a processor configured to display a first graphicelement and a first screen part related to a second electronic device onthe first display, detect movement of the first graphic element inrelation to the first screen part, and display a second screen partrelated to the second electronic device in response to the movement, asecond graphic element corresponding to the first graphic element beinginserted in the second screen part.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses exemplary embodiments of the disclosure.

Before undertaking the DETAILED DESCRIPTION below, it may beadvantageous to set forth definitions of certain words and phrases usedthroughout this patent document: the terms “include” and “comprise,” aswell as derivatives thereof, mean inclusion without limitation; the term“or,” is inclusive, meaning and/or; the phrases “associated with” and“associated therewith,” as well as derivatives thereof, may mean toinclude, be included within, interconnect with, contain, be containedwithin, connect to or with, couple to or with, be communicable with,cooperate with, interleave, juxtapose, be proximate to, be bound to orwith, have, have a property of, or the like; and the term “controller”means any device, system or part thereof that controls at least oneoperation, such a device may be implemented in hardware, firmware orsoftware, or some combination of at least two of the same. It should benoted that the functionality associated with any particular controllermay be centralized or distributed, whether locally or remotely.Definitions for certain words and phrases are provided throughout thispatent document, those of ordinary skill in the art should understandthat in many, if not most instances, such definitions apply to prior, aswell as future uses of such defined words and phrases.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present disclosure and itsadvantages, reference is now made to the following description taken inconjunction with the accompanying drawings, in which like referencenumerals represent like parts:

FIG. 1 illustrates an electronic device in a network environmentaccording to various embodiments;

FIG. 2 illustrates an electronic device according to variousembodiments;

FIG. 3 illustrates a programming module according to variousembodiments;

FIG. 4 illustrates a communication system according to variousembodiments;

FIG. 5 illustrates a method for operating a first electronic deviceaccording to various embodiments;

FIGS. 6A to 6E illustrate a method for operating an electronic deviceaccording to various embodiments;

FIGS. 7A to 7E illustrate a method for operating an electronic deviceaccording to various embodiments;

FIGS. 8A to 8E illustrate a method for operating an electronic deviceaccording to various embodiments;

FIG. 9 illustrates a method for operating a first electronic device anda second electronic device according to various embodiments;

FIG. 10 illustrates a communication system according to variousembodiments;

FIG. 11 illustrates a method for operating a first electronic device anda second electronic device according to various embodiments;

FIG. 12 illustrates a method for operating a first electronic device anda second electronic device according to various embodiments; and

FIGS. 13A and 13B illustrate the method shown in FIG. 12.

Throughout the drawings, like reference numerals will be understood torefer to like parts, components, and structures.

DETAILED DESCRIPTION

FIGS. 1 through 13B, discussed below, and the various embodiments usedto describe the principles of the present disclosure in this patentdocument are by way of illustration only and should not be construed inany way to limit the scope of the disclosure. Those skilled in the artwill understand that the principles of the present disclosure may beimplemented in any suitably arranged electronic device.

In the present disclosure, the term ‘have’, ‘may have’, ‘include’, or‘may include’ signifies the presence of a specific feature (for example,number, function, operation, or component such as part), not excludingthe presence of one or more other features.

In present disclosure, the term ‘A or B’, ‘at least one of A or/and B’,‘A/B’, or ‘one or more of A or/and B’ may cover all possiblecombinations of enumerated items. For example, ‘A or B’, ‘at least oneof A and B’, or ‘at least one of A or B’ may represent all of the casesof (1) inclusion of at least one A, (2) inclusion of at least one B, and(3) inclusion of at least one A and at least one B.

The term as used in the present disclosure, ‘first’ or ‘second’ maymodify the names of various components irrespective of sequence and/orimportance, not limiting the components. These expressions are used todistinguish one component from another component. For example, a firstuser equipment (UE) and a second UE may indicate different UEsirrespective of sequence or importance. For example, a first componentmay be referred to as a second component and vice versa withoutdeparting the scope of the present disclosure.

When it is said that a component (for example, a first component) is‘operatively or communicatively coupled with/to’ or ‘connected to’another component (for example, a second component), it should beunderstood that the one component is connected to the other componentdirectly or through any other component (for example, a thirdcomponent). On the other hand, when it is said that a component (forexample, a first component) is ‘directly connected to’ or ‘directlycoupled to’ another component (for example, a second component), it maybe understood that there is no other component (for example, a thirdcomponent) between the components.

The term ‘configured to’ as used herein may be replaced with, forexample, the term ‘suitable for’ ‘having the capacity to’, ‘designedto’, ‘adapted to’, ‘made to’, or ‘capable of’ under circumstances. Theterm ‘configured to’ may not necessarily mean ‘specifically designed to’in hardware. Instead, the term ‘configured to’ may mean that a devicemay mean ‘capable of’ with another device or part. For example, ‘aprocessor configured to execute A, B, and C’ may mean a dedicatedprocessor (for example, an embedded processor) for performing thecorresponding operations or a generic-purpose processor (for example, acentral processing unit (CPU) or an application processor (AP)) forperforming the operations.

The terms as used in the present disclosure are provided to describemerely specific embodiments, not intended to limit the scope of otherembodiments. It is to be understood that singular forms include pluralreferents unless the context clearly dictates otherwise. Unlessotherwise defined, the terms and words including technical or scientificterms used in the following description and claims may have the samemeanings as generally understood by those skilled in the art. The termsas generally defined in dictionaries may be interpreted as having thesame or similar meanings as or to contextual meanings of relatedtechnology. Unless otherwise defined, the terms should not beinterpreted as ideally or excessively formal meanings. When needed, eventhe terms as defined in the present disclosure may not be interpreted asexcluding embodiments of the present disclosure.

An electronic device according to various embodiments of the presentdisclosure may be at least one of, for example, a smartphone, a tabletpersonal computer (PC), a mobile phone, a video phone, an e-Book reader,a desktop PC, a laptop PC, a netbook computer, a workstation, a server,a personal digital assistant (PDA), a portable multimedia player (PMP),an MP3 player, a mobile medical equipment, a camera, or a wearabledevice. According to various embodiments, the wearable device may be atleast one of an accessory type (for example, a watch, a ring, abracelet, an ankle bracelet, a necklace, glasses, contact lenses, or ahead-mounted device (HMD)), a fabric or clothes type (for example,electronic clothes), a body-attached type (for example, a skin pad or atattoo), or an implantable type (for example, an implantable circuit).

According to some embodiments, an electronic device may be a homeappliance. For example, the home appliance may be at least one of, forexample, a television (TV), a digital versatile disk (DVD) player, anaudio player, a refrigerator, an air conditioner, a vacuum cleaner, anoven, a microwave oven, a washer, an air purifier, a set-top box, a homeautomation control panel, a security control panel, a TV box (forexample, Samsung HomeSync™, Apple TV®, Google TV®, or the like), a gameconsole (for example, Xbox®, PlayStation®, or the like), an electronicdictionary, an electronic key, a camcorder, or an electronic pictureframe.

According to other embodiments, an electronic device may be at least oneof a medical device (for example, a portable medical meter such as ablood glucose meter, a heart rate meter, a blood pressure meter, or abody temperature meter, a magnetic resonance angiography (MRA) device, amagnetic resonance imaging (MRI) device, a computed tomography (CT)device, an imaging device, an ultrasonic device, or the like), anavigation device, a global navigation satellite system (GNSS), an eventdata recorder (EDR), a flight data recorder (FDR), an automotiveinfotainment device, a naval electronic device (for example, a navalnavigation device, a gyrocompass, or the like), an avionic electronicdevice, a security device, an in-vehicle head unit, an industrial orconsumer robot, an automatic teller machine (ATM) in a financialfacility, a point of sales (POS) device in a shop, or an Internet ofthings (IoT) device (for example, a lighting bulb, various sensors, anelectricity or gas meter, a sprinkler, a fire alarm, a thermostat, astreet lamp, a toaster, sports goods, a hot water tank, a heater, or aboiler).

According to some embodiments, an electronic device may be at least oneof furniture, part of a building/structure, an electronic board, anelectronic signature receiving device, a projector, or various measuringdevices (for example, water, electricity, gas or electro-magnetic wavemeasuring devices). According to various embodiments, an electronicdevice may be one or a combination of two or more of the foregoingdevices. According to some embodiments, an electronic device may be aflexible electronic device. In addition, it will be apparent to onehaving ordinary skill in the art that an electronic device according toan embodiment of the present disclosure is not limited to the foregoingdevices and covers a new electronic device produced along withtechnology development.

With reference to the attached drawings, an electronic device accordingto various embodiments will be described below. In the presentdisclosure, the term ‘user’ may refer to a person or device (forexample, artificial intelligence electronic device) that uses anelectronic device.

Referring to FIG. 1, an electronic device 101 in a network environment100 according to various embodiments is described. The electronic device101 may include a bus 110, a processor 120, a memory 130, aninput/output (I/O) interface 150, a display 160, and a communicationinterface 170. In some embodiments, at least one of the components maybe omitted in the electronic device 101 or a component may be added tothe electronic device 101.

The bus 110 may include a circuit that interconnects, for example, theforegoing components 120, 130, 150, 160, and 170 and allowscommunication (for example, control messages and/or data) between theforegoing components.

The processor 120 may include one or more of a CPU, an AP, or acommunication processor (CP). The processor 120 may, for example,execute computation or data processing related to control and/orcommunication of at least one other component of the electronic device101. The processor 120 may be referred to as a controller, the processor120 may include the controller as its part, or the processor 120 mayform the controller.

The memory 130 may include a volatile memory and/or a non-volatilememory. The memory 130 may, for example, store instructions or datarelated to at least one other component. According to an embodiment, thememory 130 may store software and/or programs 140. The programs 140 mayinclude, for example, a kernel 141, middleware 143, an applicationprogramming interface (API) 145, and/or application programs (orapplications) 147. At least a part of the kernel 141, the middleware143, and the API 145 may be called an operating system (OS).

The kernel 141 may control or manage system resources (for example, thebus 110, the processor 120, or the memory 130) that are used inexecuting operations or functions implemented in other programs such asthe middleware 143, the API 145, or the application programs 147. Also,the kernel 141 may provide an interface for allowing the middleware 143,the API 145, or the application programs 147 to access individualcomponents of the electronic device 101 and control or manage systemresources.

The middleware 143 may serve as a medium through which the kernel 141may communicate with, for example, the API 145 or the applicationprograms 147 to transmit and receive data.

Also, the middleware 143 may process one or more task requests receivedfrom the application programs 147 according to their priority levels.For example, the middleware 143 may assign priority levels for usingsystem resources (the bus 110, the processor 120, or the memory 130) ofthe electronic device 101 to at least one of the application programs147. For example, the middleware 143 may perform scheduling or loadbalancing for the one or more task requests by processing the one ormore task requests according to the priority levels assigned to the atleast one application program 147.

The API 145 is an interface that may control functions that theapplication programs 147 provide at the kernel 141 or the middleware143. For example, the API 145 may include at least one interface orfunction (for example, a command) for file control, window control,video processing, or text control.

The I/O interface 150 may, for example, act as an interface thatprovides a command or data received from a user or an external device tothe other component(s) of the electronic device 101. Further, the I/Ointerface 150 may output a command or data received from the othercomponent(s) to the user or the external device.

The display 160 may include, for example, a liquid crystal display(LCD), a light emitting diode (LED) display, an organic LED (OLED)display, a microelectromechanical systems (MEMS) display, or anelectronic paper display. The display 160 may display, for example,various types of content (for example, text, an image, a video, an icon,or a symbol) to the user. The display 160 may include a touch screen andreceive, for example, a touch input, a gesture input, a proximity input,or a hovering input through an electronic pen or a user's body part.

The communication interface 170 may establish communication, forexample, between the electronic device 101 and an external device (forexample, a first external electronic device 102, a second externalelectronic device 104, or a server 106). For example, the communicationinterface 170 may be connected to a network 162 by wirelesscommunication or wired communication and communicate with the externaldevice (for example, the second external electronic device 104 or theserver 106) over the network 162. The communication interface 170 mayinclude a CP, and the CP may be one of a plurality of modules in thecommunication interface 170. In an embodiment, the CP may beincorporated in the processor 120.

The wireless communication may be conducted using, for example, at leastone of long tend evolution (LTE), LTE-advanced (LTE-A), code divisionmultiple access (CDMA), wideband CDMA (WCDMA), universal mobiletelecommunication system (UMTS), wireless broadband (WiBro), or globalsystem for mobile communications (GSM), as a cellular communicationprotocol. The wireless communication may include, for example,short-range communication 164. The short-range communication 164 may beconducted by, for example, at least one of WiFi®, Bluetooth®, near fieldcommunication (NFC), or GNSS. GNSS may include, for example, at leastone of global positioning system (GPS), global navigation satellitesystem (GLONASS), BeiDou navigation satellite system (hereinafter,referred to as ‘BeiDou’), or Galileo (the European globalsatellite-based navigation system), according to a region using the GNSSor a used bandwidth. In the present disclosure, the terms ‘ GPS’ and‘GNSS’ are interchangeably used with each other. The wired communicationmay be conducted in conformance to, for example, at least one ofuniversal serial bus (USB), high definition multimedia interface (HDMI),recommended standard 232 (RS-232), or plain old telephone service(POTS). The network 162 may be a telecommunication network, for example,at least one of a computer network (for example, local area network(LAN) or wide area network (WAN)), the Internet, or a telephone network.

Each of the first and second external electronic devices 102 and 104 maybe of the same type as or a different type from the electronic device101. According to an embodiment, the server 106 may include a group ofone or more servers. According to various embodiments, all or a part ofoperations performed in the electronic device 101 may be performed inone or more other electronic devices (for example, the electronicdevices 102 and 104) or the server 106. According to an embodiment, ifthe electronic device 101 is to perform a function or a serviceautomatically or upon request, the electronic device 101 may request atleast a part of functions related to the function or the service toanother device (for example, the electronic device 102 or 104 or theserver 106), instead of performing the function or the serviceautonomously, or additionally. The other electronic device (for example,the electronic device 102 or 104 or the server 106) may execute therequested function or an additional function and provide a result of thefunction execution to the electronic device 101. The electronic device101 may provide the requested function or service based on the receivedresult or by additionally processing the received result. For thispurpose, for example, cloud computing, distributed computing, orclient-server computing may be used.

FIG. 2 illustrates an electronic device 201 according to variousembodiments. The electronic device 201 may include, for example, thewhole or part of the electronic device 101 illustrated in FIG. 1. Theelectronic device 201 may include at least one processor (for example,AP) 210, a communication module 220, a memory 230, a sensor module 240,an input device 250, and a display 260. The electronic device 201 mayfurther include at least one of a subscriber identification module (SIM)224, an interface 270, an audio module 280, a camera module 291, a powermanagement module 295, a battery 296, an indicator 297, and a motor 298.

The processor 210 may, for example, control a plurality of hardware orsoftware components that are connected to the processor 210 by executingan OS or an application program and may perform processing orcomputation of various types of data. The processor 210 may beimplemented, for example, as a system on chip (SoC). According to anembodiment, the processor 210 may further include a graphics processingunit (GPU) and/or an image signal processor. The processor 210 mayinclude at least a part (for example, a cellular module 221) of thecomponents illustrated in FIG. 2. The processor 210 may load a commandor data received from at least one of other components (for example, anon-volatile memory), process the loaded command or data, and storevarious types of data in the non-volatile memory.

The communication module 220 may have the same configuration as or asimilar configuration to the communication interface 170 illustrated inFIG. 1. The communication module 220 may include at least one of, forexample, the cellular module 221, a WiFi® module 223, a Bluetooth® (BT)module 225, a GNSS module 227 (for example, a GPS module, a GLONASSmodule, a BeiDou module, or a Galileo module), an NFC module 228, and aradio frequency (RF) module 229.

The cellular module 221 may provide services such as voice call, videocall, text service, or the Internet service, for example, through acommunication network. According to an embodiment, the cellular module221 may identify and authenticate the electronic device 201 within acommunication network, using the SIM (for example, a SIM card) 224.According to an embodiment, the cellular module 221 may perform at leasta part of the functionalities of the processor 210. According to anembodiment, the cellular module 221 may include a CP.

Each of the WiFi® module 223, the BT module 225, the GNSS module 227,and the NFC module 228 may include, for example, a processor that mayprocess data received or transmitted by the module. According to anembodiment, at least a part (for example, two or more) of the cellularmodule 221, the WiFi® module 223, the BT module 225, the GNSS module227, or the NFC module 228 may be included in a single integrated chip(IC) or IC package.

The RF module 229 may transmit and receive, for example, communicationsignals (for example, RF signals). The RF module 229 may include atleast one of, for example, a transceiver, a power amplifier module(PAM), a frequency filter, a low noise amplifier (LNA), an antenna, orthe like. According to another embodiment, at least one of the cellularmodule 221, the WiFi® module 223, the BT module 225, the GNSS module227, or the NFC module 228 may transmit and receive RF signals via aseparate RF module.

The SIM 224 may include, for example, a card including the SIM and/or anembedded SIM. The SIM 224 may include a unique identifier (for example,integrated circuit card identifier (ICCID)) or subscriber information(for example, international mobile subscriber identity (IMSI)).

The memory 230 (for example, the memory 130) may include, for example,an internal memory 232 and/or an external memory 234. The internalmemory 232 may be at least one of, for example, a volatile memory (forexample, dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamicRAM (SDRAM)), and a non-volatile memory (for example, one timeprogrammable ROM (OTPROM), programmable ROM (PROM), erasable andprogrammable ROM (EPROM), electrically erasable and programmable ROM(EEPROM), mask ROM, flash ROM, flash memory (for example, NAND flashmemory, or NOR flash memory), a hard drive, and a solid state driver(SSD).

The external memory 234 may further include a flash drive such as acompact flash (CF) drive, a secure digital (SD), a micro secure digital(micro-SD), a mini secure digital (mini-SD), an extreme digital (xD), amulti-media card (MMC), or a memory stick. The external memory 234 maybe operatively and/or physically coupled to the electronic device 201via various interfaces.

The sensor module 240 may, for example, measure physical quantities ordetect operational states of the electronic device 201, and convert themeasured or detected information into electric signals. The sensormodule 240 may include at least one of, for example, a gesture sensor240A, a gyro sensor 240B, an atmospheric pressure sensor 240C, amagnetic sensor 240D, an accelerometer sensor 240E, a grip sensor 240F,a proximity sensor 240G, a color sensor (for example, a red, green, blue(RGB) sensor) 240H, a biometric sensor 2401, a temperature/humiditysensor 240J, an illumination sensor 240K, or an ultra violet (UV) sensor240M. Additionally or alternatively, the sensor module 240 may include,for example, an electrical-nose (E-nose) sensor, an electromyogram (EMG)sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG)sensor, an infrared (IR) sensor, an iris sensor, and/or a finger printsensor. The sensor module 240 may further include a control circuit forcontrolling one or more sensors included therein. According to someembodiments, the electronic device 201 may further include a processorconfigured to control the sensor module 240, as a part of or separatelyfrom the processor 210. Thus, while the processor 210 is in a sleepstate, the control circuit may control the sensor module 240.

The input device 250 may include, for example, a touch panel 252. Theinput device 250 may further include at least one of a (digital) pensensor 254, a key 256, or an ultrasonic input device 258. The touchpanel 252 may operate in at least one of, for example, capacitive,resistive, infrared, and ultrasonic schemes. The touch panel 252 mayfurther include a control circuit. The touch panel 252 may furtherinclude a tactile layer to thereby provide haptic feedback to the user.

The (digital) pen sensor 254 may include, for example, a detection sheetwhich is a part of the touch panel or separately configured from thetouch panel. The key 256 may include, for example, a physical button, anoptical key, or a keypad. The ultrasonic input device 258 may senseultrasonic signals generated by an input tool using a microphone (forexample, a microphone 288), and identify data corresponding to thesensed ultrasonic signals.

The display 260 (for example, the display 160) may include a panel 262.The display 260 may further include a hologram device 264 and/or aprojector 266. The panel 262 may have the same configuration as or asimilar configuration to the display 160 illustrated in FIG. 1. Thepanel 262 may be configured to be, for example, flexible, transparent,or wearable. The panel 262 and the touch panel 252 may be implemented asa single module. The hologram device 264 may utilize the interference oflight waves to provide a three-dimensional image in empty space. Theprojector 266 may display an image by projecting light on a screen. Thescreen may be positioned, for example, inside or outside the electronicdevice 201. According to an embodiment, the display 260 may furtherinclude a control circuit for controlling the panel 262, the hologramdevice 264, or the projector 266.

The interface 270 may include at least one of, for example, an HDMI 272,a USB 274, an optical interface 276, or a D-subminiature (D-sub) 278.The interface 270 may be included, for example, in the communicationinterface 170 illustrated in FIG. 1. Additionally or alternatively, theinterface 270 may include, for example, a mobile high-definition link(MHL) interface, an SD/multimedia card (MMC) interface, or an infrareddata association (IrDA) interface.

The audio module 280 may, for example, convert a sound to an electricalsignal, and vice versa. At least a part of the components of the audiomodule 280 may be included, for example, in the I/O interface 150illustrated in FIG. 1. The audio module 280 may process soundinformation input into, or output from, for example, a speaker 282, areceiver 284, an earphone 286, or the microphone 288.

The camera module 291 may capture, for example, still images and avideo. According to an embodiment, the camera module 291 may include oneor more image sensors (for example, a front sensor or a rear sensor), alens, an image signal processor (ISP), or a flash (for example, an LEDor a xenon lamp).

The power management module 295 may manage power of, for example, theelectronic device 201. According to an embodiment, the power managementmodule 295 may include a power management integrated circuit (PMIC), acharger IC, or a battery or fuel gauge. The PMIC may adopt wired and/orwireless charging. The wireless charging may be performed, for example,in a magnetic resonance scheme, a magnetic induction scheme, or anelectromagnetic wave scheme, and may further include an additionalcircuit for wireless charging, for example, a coil loop, a resonancecircuit, or a rectifier. The battery gauge may measure, for example, acharge level, a voltage while charging, current, or temperature of thebattery 296. The battery 296 may include, for example, a rechargeablebattery and/or a solar battery.

The indicator 297 may indicate specific states of the electronic device201 or a part of the electronic device 201 (for example, the processor210), for example, boot status, message status, or charge status. Themotor 298 may convert an electrical signal into a mechanical vibrationand generate vibrations or a haptic effect. While not shown, theelectronic device 201 may include a processing device for supportingmobile TV (for example, a GPU). The processing device for supportingmobile TV may process media data compliant with, for example, digitalmultimedia broadcasting (DMB), digital video broadcasting (DVB), orMediaFLO™.

Each of the above-described components of the electronic device mayinclude one or more parts and the name of the component may vary withthe type of the electronic device. According to various embodiments, theelectronic device may be configured to include at least one of theafore-described components. Some component may be omitted from or addedto the electronic device. According to various embodiments, one entitymay be configured by combining a part of the components of theelectronic device, to thereby perform the same functions of thecomponents prior to the combining.

FIG. 3 illustrates a programming module according to various embodimentsof the present disclosure. According to an embodiment, a programmingmodule 310 (for example, a program 140) may include an OS that controlsresources related to an electronic device (for example, the electronicdevice 101) and/or various applications executed on the OS (for example,the application programs 147). For example, the OS may be Android®, iOS,Windows®, Symbian®, Tizen®, Samsung Bada®, or the like.

The programming module 310 may include a kernel 320, middleware 330, anApplication Programming Interface (API) 360, and/or applications 370. Atleast a part of the programming module 310 may be preloaded on theelectronic device or downloaded from an external electronic device (forexample, the electronic device 102 or 104, or the server 106).

The kernel 320 (for example, the kernel 141) may include, for example, asystem resource manager 321 and/or a device driver 323. The systemresource manager 321 may control, allocate, or deallocate systemresources. According to an embodiment, the system resource manager 321may include at least one of a process manager, a memory manager, or afile system manager. The device driver 323 may include, for example, adisplay driver, a camera driver, a Bluetooth® driver, a shared memorydriver, a USB driver, a keypad driver, a WiFi® driver, an audio driver,or an inter-process communication (IPC) driver.

The middleware 330 may, for example, provide a function requiredcommonly for the applications 370 or provide various functionalities tothe applications 370 through the API 360 so that the applications 370may efficiently use limited system resources available within theelectronic device. According to an embodiment, the middleware 330 (forexample, the middleware 143) may include at least one of a runtimelibrary 335, an application manager 341, a window manager 342, amultimedia manager 343, a resource manager 344, a power manager 345, adatabase manager 346, a package manager 347, a connectivity manager 348,a notification manager 349, a location manager 350, a graphic manager351, or a security manager 352.

The runtime library 335 may include, for example, a library module thata complier uses to add a new function in a programming language duringexecution of an application 370. The runtime library 335 may performinput/output management, memory management, a function related toarithmetic function, or the like.

The application manager 341 may manage, for example, the life cycle ofat least one of the applications 370. The window manager 342 may manageGUI resources used for a screen. The multimedia manager 343 maydetermine formats required to play back various media files and mayencode or decode a media file using a CODEC suitable for the format ofthe media file. The resource manager 344 may manage resources such as asource code of at least one of the applications 370, a memory, orstorage space.

The power manager 345 may, for example, manage a battery or a powersource by operating in conjunction with a basic input/output system(BIOS) and may provide power information required for an operation ofthe electronic device. The database manager 346 may generate, search, ormodify a database for at least one of the applications 370. The packagemanager 347 may manage installation or update of an applicationdistributed as a package file.

The connectivity manager 348 may manage, for example, wirelessconnectivity of WiFi®, Bluetooth®, or the like. The notification manager349 may indicate or notify an event such as message arrival, a schedule,a proximity alarm, or the like in a manner that does not bother a user.The location manager 350 may mange position information about theelectronic device. The graphic manager 351 may manage graphical effectsto be provided to the user or related user interfaces. The securitymanager 352 may provide an overall security function required for systemsecurity, user authentication, or the like. In an embodiment, if theelectronic device (for example, the electronic device 101) has atelephony function, the middleware 330 may further include a telephonymanager to manage a voice or video call function of the electronicdevice.

A new middleware module may be created and used by combining variousfunctions of the above-described component modules in the middleware330. The middleware 330 may provide a customized module for each OS typein order to provide differentiated functions. In addition, themiddleware 330 may dynamically delete a part of the existing componentsor add a new component.

The API 360 (for example, the API 145) is, for example, a set of APIprogramming functions, which may be configured differently according toan OS. For example, in the case of Android or iOS, one API set may beprovided per platform, whereas in the case of Tizen, two or more APIsets may be provided per platform.

The applications 370 (for example, the application programs 147) mayinclude, for example, one or more applications capable of providingfunctions such as home 371, dialer 372, short message service/multimediamessaging service (SMS/MMS) 373, Instant message (IM) 374, browser 375,camera 376, alarm 377, contacts 378, voice dial 379, email 380, calendar381, media player 382, album 383, or clock 384, health care (forexample, measurement of an exercise amount or a glucose level), orproviding of environment information (for example, information aboutatmospheric pressure, humidity, or temperature).

According to an embodiment, the applications 370 may include anapplication (for the convenience of description, referred to as‘information exchange application’) supporting information exchangebetween the electronic device (for example, the electronic device 101)and an external electronic device (the electronic device 102 or 104).The information exchange application may include, for example, anotification relay application for transmitting specific information tothe external electronic device or a device management application formanaging the external electronic device.

For example, the notification relay application may include a functionof transmitting notification information generated from anotherapplication (for example, an SMS/MMS application, an email application,a health care application, or an environment information application) tothe external electronic device (for example, the electronic device 102or 104). Also, the notification relay application may, for example,receive notification information from the external electronic device andtransmit the received notification information to a user.

The device management application may, for example, manage (for example,install, delete, or update) at least a part of functions of the externalelectronic device (for example, the electronic device 102 or 104)communicating with the electronic device (for example, turn-on/turn-offof the external electronic device (or a part of its components) orcontrol of the brightness (or resolution) of the display), anapplication executed in the external electronic device, or a service(for example, a call service or a message service) provided by theexternal electronic device.

According to an embodiment, the applications 370 may include anapplication (for example, a health care application of a mobile medicalequipment) designated according to a property of the external electronicdevice (for example, the electronic device 102 or 104). According to anembodiment, the applications 370 may include an application receivedfrom an external electronic device (for example, the server 106 or theelectronic device 102 or 104). According to an embodiment, theapplications 370 may include a preloaded application or a third partyapplication downloadable from a server. The names of components of theprogramming module 310 according to the embodiment of the presentdisclosure may vary according to the type of an OS.

According to various embodiments, at least a part of the programmingmodule 310 may be implemented in software, firmware, hardware, or acombination of at least two of them. At least a part of the programmingmodule 310 may be implemented (for example, executed) by the processor(for example, the processor 210). At least a part of the programmingmodule 310 may include, for example, a module, a program, a routine, aset of instructions, or a process to execute one or more functions.

FIG. 4 illustrates a communication system according to variousembodiments. A communication system 400 may include a first electronicdevice 411 (for example, the electronic device 101 or 201), a secondelectronic device 421 (for example, the electronic device 101 or 201),and a third electronic device 431 (for example, the electronic device101 or 201).

The first electronic device 411 may include a first display 416 (forexample, the display 160 or 260) for displaying a screen, a firstcommunication module 417 (for example, the communication interface 170or the communication module 220) for transmitting data to or receivingdata from an external electronic device, and a first processor 412 (forexample, the processor 120 or 210) for executing the functionalities ofthe first electronic device 411 by controlling the first display 416and/or the first communication module 417.

The second electronic device 421 may include a second display 426 (forexample, the display 160 or 260) for displaying a screen, a secondcommunication module 427 (for example, the communication interface 170or the communication module 220) for transmitting data to or receivingdata from an external electronic device, and a second processor 422 (forexample, the processor 120 or 210) for executing the functionalities ofthe second electronic device 421 by controlling the second display 426and/or the second communication module 427.

The third electronic device 431 may have the same configuration as or asimilar configuration to the first electronic device 411 or the secondelectronic device 421.

The second processor 422 may display a screen on the second display 426and transmit first data corresponding to the screen (or first data usedto configure a screen, that is, first screen data) to the firstelectronic device 411 through the second communication module 427.

The first processor 412 may receive the first screen data from thesecond electronic device 421 through the first communication module 417and display a first screen part configured based on the first screendata on the first display 416.

The first processor 412 may detect a user input related to the firstscreen part through an input device (for example, the input device 250)and transmit information about the user input to the second electronicdevice 421 through the first communication module 417.

The second processor 422 may receive the information about the userinput from the first electronic device 411 through the secondcommunication module 427 and perform an operation according to theinformation about the user input. The second processor 422 may updatethe screen displayed on the second display 426 by performing theoperation and transmit second data corresponding to the updated screen(or second data used to configure a screen, that is, second screen data)to the first electronic device 411 through the second communicationmodule 427.

The first processor 412 may receive the second screen data from thesecond electronic device 421 through the first communication module 417and display, on the first display 416, a second screen part configuredbased on the second screen data.

In an embodiment, the second processor 422 may transmit a message to thethird electronic device 431 according to information about a user inputreceived from the first electronic device 411 or a user input applied toa screen displayed on the second display 426.

In an embodiment, the second processor 422 may update the screendisplayed on the second display 426 along with the transmission of themessage and transmit third data corresponding to the updated screen (orthird data used to configure a screen, that is, third screen data) tothe first electronic device 411 through the second communication module427. For example, the first processor 412 may receive the third screendata from the second electronic device 421 through the firstcommunication module 417 and display, on the first display 416, a thirdscreen configured based on the third screen data.

FIG. 5 illustrates a method for operating a first electronic deviceaccording to various embodiments. The method for operating a firstelectronic device may include operations 510 to 540. The method foroperating a first electronic device may be performed by at least one ofthe first electronic device (for example, the electronic device 101,201, or 411), a first processor of the first electronic device (forexample, the processor 120, 210, or 412), or a first controller of thefirst electronic device.

Referring to FIG. 5, the first electronic device may establish a wiredor wireless communication connection with a second electronic device(for example, the electronic device 101, 201, or 421) in operation 510.

For example, the first electronic device may establish a wiredcommunication connection with the second electronic device through afirst communication module (for example, the communication interface 170or the communication module 220 or 417) supporting USB, HDMI, or thelike.

For example, the first electronic device may establish a wirelesscommunication connection with the second electronic device through thefirst communication module conforming to a wireless communicationprotocol such as WiFi® (802.11x), WiFi Direct), IrDA, Zigbee®, NFC,radio-frequency identification (RFID), Bluetooth®, or ultra-wideband(UWB).

For example, the wired/wireless communication connection may betriggered by automatic device discovery of each of the first and secondelectronic devices, a user's connection command for either of the firstand second electronic devices, a user's connection between connectors ofthe first and second electronic devices, or execution of the sameapplications installed in the first and second electronic devices.

In an embodiment, one of the first and second electronic devices mayreceive device information (or display information) from the otherelectronic device.

In an embodiment, the first and second electronic devices may exchangedevice information (or display information) with each other.

For example, the device information (or display information) may includeat least one of the unique ID and model name of an electronic device,and the resolution, aspect ratio, size, video quality, model name, orunique ID of a display.

In operation 520, the first electronic device may display a firstgraphic element and a first screen part related to the second electronicdevice.

In an embodiment, the second electronic device may generate screen datato be displayed on a second display (for example, the display 160, 260,or 426), display the screen data on the second display, and transmit thescreen data to the first electronic device through a secondcommunication module (for example, the communication interface 170 orthe communication module 220 or 427). The first electronic device mayconvert the screen data received from the second electronic deviceaccording to device information about a first display (for example, thedisplay 160, 260, or 416) and display the converted screen data on thefirst display.

In an embodiment, the second electronic device may convert the screen orscreen data displayed on the second display according to displayinformation about the first electronic device and transmit the convertedscreen data to the first electronic device.

In an embodiment, the second electronic device may generate secondscreen data to be displayed on the second display and first screen datato be displayed on the first display, and transmit the first screen datato the first electronic device through the second communication module.The first electronic device may display a first screen part configuredbased on the first screen data on the first display, and the secondelectronic device may display a second screen part configured based onthe second screen data on the second display. The first and secondscreen parts (or the first and second screen data) may be the same incontents and different in representation formats such as screen sizes,aspect ratios, resolutions, or video quality. That is, the first andsecond screen data may represent the same item or object.

For example, a screen may refer to a visual image displayed on adisplay. Screen data may refer to any data with which a screen may beconfigured. For example, the screen data may be image data, text data,application data, or the like. For example, the screen data may be araster image or bitmap image of a screen displayed on the display.

In an embodiment, the first screen part may include a screen of anapplication (that is, an application screen) displayed on the seconddisplay. For example, the application screen may be referred to as agraphics user interface (GUI), an application window, an applicationarea, or the like. For example, the application may be an applicationset to automatic execution in an environment setting, or an applicationexecuted automatically upon generation of an event such as messagereception, call termination, or an alarm event.

In an embodiment, the first screen part may include at least a part of awhole screen displayed on the second display.

In an embodiment, the first screen part may be a mirrored screen thatthe first electronic device displays with data displayed on the seconddisplay, which is received in real time.

In an embodiment, a graphic element may be at least one of text, animage, a file, an icon, an application screen, a GUI, and/or the like.

In operation 530, the first electronic device may detect movement of thefirst graphic element in relation to the first screen part.

In an embodiment, the first electronic device may detect a first userinput that selects the first graphic element displayed on the firstdisplay. The first electronic device may detect a second user input thatmoves from the position of the selected first graphic element to theposition of the first screen part on the first display.

In an embodiment, the first electronic device may detect a second userinput that drags the first graphic element to the position of the firstscreen part on the first display.

In an embodiment, the first electronic device may detect a second userinput (for example, a swipe input or a flick input) that moves from theselected first graphic element toward the first screen part on the firstdisplay.

In an embodiment, the first electronic device may display, on the firstdisplay, at least one graphic element representing at least oneapplication being executed in the second electronic device (or capableof processing data corresponding to the first graphic element) inresponse to the second user input. The first electronic device maydetect a third user input that selects one of the at least one graphicelement.

In an embodiment, the first electronic device may detect a third userinput that drags the first graphic element to the position of one of theat least one graphic element.

In an embodiment, the first electronic device may detect a first userinput that selects the first graphic element displayed on the firstdisplay. The first electronic device may display at least one graphicelement representing at least one application being executed in thesecond electronic device (or capable of processing data corresponding tothe first graphic element) on the first display in response to the firstuser input. The first electronic device may detect a third user inputthat selects one of the at least one graphic element, or drags the firstgraphic element to the position of one of the at least one graphicelement.

In an embodiment, before displaying the at least one graphic element,the first electronic device may receive information about the at leastone application from the second electronic device. The information aboutthe at least one application may include at least one of a list ofapplications (or application IDs) supported by or being executed in thesecond electronic device, information about the types (for example,image file, text file, and music file)/formats (for example, fileextensions) of data that each application of the list may process,and/or the like.

In an embodiment, the electronic device may transmit information aboutdata corresponding to the first graphic element and/or the data to thesecond electronic device. The second electronic device may transmitinformation about the at least one application or screen data includingthe at least one graphic element to the first electronic device inresponse to the reception of the data.

In operation 540, the first electronic device may display a secondscreen part related to the second electronic device, in which a secondgraphic element corresponding to the first graphic element is inserted,in response to movement (or detection of movement) of the first graphicelement.

In an embodiment, the first screen part may correspond to a screen of anapplication being executed (or displayed) in the second electronicdevice, and the second screen part may correspond to an updated screenof the application, in which the second graphic element corresponding tothe data is inserted.

In an embodiment, the first electronic device may transmit datacorresponding to the first graphic element to the second electronicdevice. The first electronic device may receive screen datacorresponding to the second screen part from the second electronicdevice. The first electronic device may display, on the first display,the second screen part configured based on the screen data.

In an embodiment, the second electronic device may generate screen datain which the second graphic element corresponding to the data isinserted as an attached file, an image, text, or the like, display thescreen data on the second display, and transmit the screen data to thefirst electronic device through the second communication module.

In an embodiment, the second electronic device may convert the screen orscreen data in which the data displayed on the second display isinserted according to display information about the first electronicdevice, and transmit the converted screen data to the first electronicdevice.

In an embodiment, the second screen part may include at least a part ofa whole screen displayed on the second display.

In an embodiment, the second screen part may be a mirrored screen whichthe first electronic device displays with data displayed on the seconddisplay, received from the second electronic device in real time.

In an embodiment, the first electronic device may transmit informationrelated to the data (for example, an address corresponding to the data)to the second electronic device. The first electronic device may receivea transmission request for the data from the second electronic device.The first electronic device may transmit the data to the secondelectronic device in response to the transmission request. The firstelectronic device may receive data corresponding to the second screenpart from the second electronic device. The first electronic device maydisplay the second screen part on the first display. For example, thedata transmission request may include the address.

In an embodiment, the first screen part may correspond to a screen of anapplication being executed in the second electronic device, and the datacorresponding to the first graphic element may be inserted in a messageor text written by the application (or to be transmitted to a thirdelectronic device through the application). For example, the data may beattached as a file to the message or text written through theapplication (or to be transmitted to the third electronic device throughthe application).

FIGS. 6A to 6E illustrate a method for operating an electronic deviceaccording to various embodiments.

Referring to FIG. 6A, a second electronic device 651 (for example, theelectronic device 101, 201, or 421) may display a status bar 660 and afirst screen 670 of a message application on a second display 656 (forexample, the display 160, 260, or 426).

The status bar 660 may be displayed at a top end of the second display656, and include at least one of a battery charged state indicator, areceived signal strength indicator, a current time indicator, and/or thelike.

The first screen 670 of the message application may include at least oneof a dialogue window 672 for displaying a user message of the secondelectronic device 651 and a message of the other party received from athird electronic device (for example, the third electronic device 431)communicating with the second electronic device 651, an input window 674for inputting a message, and a send button 676 for transmitting amessage input to the input window 674 to the third electronic device,and an attach button 678 for attaching a file to be transmitted to thethird electronic device. Hereinbelow, a window may be referred to as atleast one of a window, a user interface (UI), or a GUI.

Referring to FIG. 6B, a first electronic device 611 (for example, theelectronic device 101, 201, or 411) may display a screen 620 of a fileexplorer (or a file manager application) and a screen 630 of a mirroringapplication on a first display 616 (for example, the display 160, 260,or 426).

The screen 620 of the file explorer may include a plurality of graphicelements 622.

The screen 630 of the mirroring application may include a top bar 632that may be displayed on a top end of the screen 630, a bottom bar 634that may be displayed on a bottom end of the screen 630, and a firstscreen part 640 that may be interposed between the top bar 632 and thebottom bar 634.

The top bar 632 may include at least one button for ending, enlarging,and/or contracting the screen 630.

The bottom bar 634 may include a menu button, a home button, and/or aback button corresponding to a menu button, a home button, and/or a backbutton of the second electronic device 651, respectively.

For example, upon user selection of the home button, the firstelectronic device 611 may transmit information about the user input(that is, user input information) to the second electronic device 651.The user input information may include information (for example,coordinates) about the position of the user input to the first screenpart 640. The second electronic device 651 may display a main homescreen on the second display 656 according to the user input informationreceived from the first electronic device 611. The second electronicdevice 651 may transmit screen data corresponding to the main homescreen to the first electronic device 611, and the first electronicdevice 611 may display a screen part corresponding to the screen data onthe first display 616 by replacing the first screen part 640 with thescreen.

For example, the home button may be used to display recently usedapplications or a task manager.

For example, the menu button may be used to display link menus such as awidget add menu, a background screen change menu, a search menu, an editmenu, and an environment setting menu.

For example, the back button may be used to display a screen executedshortly before a currently displayed screen or end the most recentlyused application.

The first screen part 640 and the first screen 670 of the messageapplication may be the same in terms of contents and different only interms of representation formats such as screen sizes, aspect ratios,resolutions, and video quality.

The first screen part 640 may include a dialogue window 642, an inputwindow 644, a send button 646, and an attach button 648.

The first electronic device 611 may detect a first user input 680 thatselects a first graphic element 624 from among the plurality of graphicelements 622.

For example, the first user input 680 may be applied by touch with auser's finger or an electronic pen or click on a button of a mouse.

Referring to FIG. 6C, the first electronic device 611 may detect asecond user input 682 that drags the first graphic element 624 to theposition of the first screen part 640.

In an embodiment, the first electronic device 611 may detect a seconduser input (for example, a swipe input or a flick input) that moves fromthe position of the selected first graphic element 624 toward the firstscreen part 640.

Referring to FIG. 6D, the first electronic device 611 may transmit data(or a file) corresponding to the first graphic element 624 to the secondelectronic device 651 in response to the movement of the first graphicelement 624 (or detection of the movement of the first graphic element624). The second electronic device 651 may display a second screen 670 aof the message application on the second display 656, in which a graphicelement 679 corresponding to the data (or file) is inserted in the inputwindow 674. The second electronic device 651 may transmit second screendata corresponding to the second screen 670 a to the first electronicdevice 611.

In an embodiment, the second electronic device 651 may convert the data(or file) corresponding to the first graphic element 624 to aform/format supported by the message application, or compress the data(or file).

Referring to FIG. 6E, the first electronic device 611 may display asecond screen part 640 a corresponding to the second screen data byreplacing the first screen part 640 with the second screen part 640 a onthe first display 616.

The second screen part 640 a and the second screen 670 a of the messageapplication may be the same in term of contents and different in termsof representation formats such as screen sizes, aspect ratios,resolutions, and/or video quality.

The first electronic device 611 may display the second screen part 640 aon the first display 616, in which the first graphic element 624 or thesecond graphic element 649 corresponding to the data (or file) isinserted in the input window 644.

For example, upon detection of selection of the send button 646, thefirst electronic device 611 may transmit user input informationcorresponding to the selection to the second electronic device 651, andthe second electronic device 651 may transmit a message including thedata (or file) corresponding to the first graphic element 624 to thethird electronic device through a network (for example, the network 162)according to the user input information.

FIGS. 7A to 7E illustrate a method for operating an electronic deviceaccording to various embodiments.

Referring to FIG. 7A, a second electronic device 751 (for example, theelectronic device 101, 201, or 421) may display a first screen 770 of anemail application on a second display 756 (for example, the display 160,260, or 426).

The first screen 770 of the email application may include at least oneof a menu bar 771 with buttons for attaching a file, and saving,deleting, and sending an email, an address input window 772 forinputting an email address of a recipient, a title input window 774 forinputting a title of a mail, and a message input window 776 forinputting the contents of an email (or message).

Referring to FIG. 7B, a first electronic device 711 (for example, theelectronic device 101, 201, or 411) may display a screen 720 of a fileexplorer and a screen 730 of a mirroring application on a first display716 (for example, the display 160, 260, or 426).

The screen 720 of the file explorer may include a plurality of graphicelements 722.

The screen 730 of the mirroring application may include a top bar 732that may be displayed on a top end of the screen 730, a bottom bar 734that may be displayed on a bottom end of the screen 730, and a firstscreen part 740 that may be interposed between the top bar 732 and thebottom bar 734.

The top bar 732 may include at least one button for ending, enlarging,and/or contracting the screen 730.

The bottom bar 734 may include a menu button, a home button, and/or aback button corresponding to a menu button, a home button, and/or a backbutton of the second electronic device 751, respectively.

The first screen part 740 and the first screen 770 of the messageapplication may be the same in terms of contents and different only interms of representation formats such as screen sizes, aspect ratios,resolutions, and video quality.

The first screen part 740 may include a menu bar 741, an address inputwindow 742, a title input window 744, and a message input window 746.

The first electronic device 711 may detect a first user input 780 thatselects a first graphic element 724 from among the plurality of graphicelements 722.

For example, the first user input 780 may be applied by touch with auser's finger or an electronic pen or click on a button of a mouse.

Referring to FIG. 7C, the first electronic device 711 may detect asecond user input 782 that drags the first graphic element 724 to theposition of the first screen part 740.

In an embodiment, the first electronic device 711 may detect a seconduser input (for example, a swipe input or a flick input) that moves fromthe position of the selected first graphic element 724 toward the firstscreen part 740.

Referring to FIG. 7D, the first electronic device 711 may transmit data(or a file) corresponding to the first graphic element 724 to the secondelectronic device 751 in response to the movement of the first graphicelement 724 (or detection of the movement of the first graphic element724). The second electronic device 751 may display a second screen 770 aof the email application on the second display 756, in which a graphicelement 779 corresponding to the data (or file) is inserted as anattached file indicator in the message input window 776. The secondelectronic device 751 may transmit second screen data corresponding tothe second screen 770 a to the first electronic device 711.

In an embodiment, the second electronic device 751 may convert the data(or file) corresponding to the first graphic element 724 to aform/format supported by the email application, or compress the data (orfile).

Referring to FIG. 7E, the first electronic device 711 may display asecond screen part 740 a corresponding to the second screen data byreplacing the first screen part 740 with the second screen part 740 a onthe first display 716.

The second screen part 740 a and the second screen 770 a of the emailapplication may be the same in term of contents and different in termsof representation formats such as screen sizes, aspect ratios,resolutions, and video quality.

The first electronic device 711 may display the second screen part 740 aon the first display 716, in which the first graphic element 724 or thesecond graphic element 749 corresponding to the data (or file) isinserted as an attached file indicator in the message input window 746.

For example, upon detection of selection of an email send buttonincluded in the menu bar 741, the first electronic device 711 maytransmit user input information corresponding to the selection to thesecond electronic device 751, and the second electronic device 751 maytransmit an email including the data (or file) corresponding to thefirst graphic element 624 to a third electronic device through a network(for example, the network 162) according to the user input information.

FIGS. 8A to 8E illustrate a method for operating an electronic deviceaccording to various embodiments.

Referring to FIG. 8A, a second electronic device 851 (for example, theelectronic device 101, 201, or 421) may display a first screen 870 of amemo application on a second display 856 (for example, the display 160,260, or 426).

The first screen 870 of the memo application may include at least one ofa menu bar 871 with buttons for image insertion, voice insertion, andsaving, a title input window 874 for inputting a title of a memo, or amessage input window 876 for inputting the contents of a memo (ormessage).

Referring to FIG. 8B, a first electronic device 811 (for example, theelectronic device 101, 201, or 411) may display a screen 820 of a fileexplorer and a screen 830 of a mirroring application on a first display816 (for example, the display 160, 260, or 426).

The screen 820 of the file explorer may include a plurality of graphicelements 822.

The screen 830 of the mirroring application may include a top bar 832that may be displayed on a top end of the screen 830, a bottom bar 834that may be displayed on a bottom end of the screen 830, and a firstscreen part 840 that may be interposed between the top bar 832 and thebottom bar 834.

The top bar 832 may include at least one button for ending, enlarging,and/or contracting the screen 830.

The bottom bar 834 may include a menu button, a home button, and/or aback button corresponding to a menu button, a home button, and/or a backbutton of the second electronic device 851, respectively.

The first screen part 840 and the first screen 870 of the memoapplication may be the same in terms of contents and different only interms of representation formats such as screen sizes, aspect ratios,resolutions, and video quality.

The first screen part 840 may include a menu bar 841, a title inputwindow 844, and a message input window 846.

The first electronic device 811 may detect a first user input 880 thatselects a first graphic element 824 from among the plurality of graphicelements 822.

For example, the first user input 880 may be applied by touch with auser's finger or an electronic pen or click on a button of a mouse.

Referring to FIG. 8C, the first electronic device 811 may detect asecond user input 882 that drags the first graphic element 824 to theposition of the first screen part 840.

In an embodiment, the first electronic device 811 may detect a seconduser input (for example, a swipe input or a flick input) that moves fromthe position of the selected first graphic element 824 toward the firstscreen part 840.

Referring to FIG. 8D, the first electronic device 811 may transmit data(or a file) corresponding to the first graphic element 824 to the secondelectronic device 851 in response to the movement of the first graphicelement 824 (or detection of the movement of the first graphic element824). The second electronic device 851 may display a second screen 870 aof the memo application on the second display 856, in which a graphicelement 879 corresponding to the data (or file) is inserted in themessage input window 876. The second electronic device 851 may transmitsecond screen data corresponding to the second screen 870 a to the firstelectronic device 811.

In an embodiment, the second electronic device 851 may convert the data(or file) corresponding to the first graphic element 824 to aform/format supported by the memo application, or compress the data (orfile).

Referring to FIG. 8E, the first electronic device 811 may display asecond screen part 840 a corresponding to the second screen data byreplacing the first screen part 840 with the second screen part 840 a onthe first display 816.

The second screen part 840 a and the second screen 870 a of the emailapplication may be the same in term of contents and different in termsof representation formats such as screen sizes, aspect ratios,resolutions, and video quality.

The first electronic device 811 may display the second screen part 840 aon the first display 816, in which the first graphic element 824 or thesecond graphic element 849 corresponding to the data (or file) isinserted in the message input window 846.

For example, upon detection of selection of a save button included inthe menu bar 841, the first electronic device 811 may transmit userinput information corresponding to the selection to the secondelectronic device 851, and the second electronic device 851 may store amemo including the second graphic element 879 or the data (or file)corresponding to the second graphic element 879 in a memory of thesecond electronic device 851, or display an icon representing the memoon the second display 856.

For example, upon detection of selection of the icon representing thememo, the second electronic device 851 may display a memo including thesecond graphic element on the second display 856.

FIG. 9 illustrates a method for operating a first electronic device anda second electronic device according to various embodiments. The methodfor operating a first electronic device and a second electronic devicemay include operations 910 to 950.

A method for operating a first electronic device 901 (for example, theelectronic device 101, 201, or 411) may be performed by at least one ofthe first electronic device 901, a first processor (for example, theprocessor 120, 210, or 412) of the first electronic device 901, or afirst controller of the first electronic device 901.

A method for operating a second electronic device 902 (for example, theelectronic device 101, 201, or 411) may be performed by at least one ofthe second electronic device 902, a second processor (for example, theprocessor 120, 210, or 412) of the second electronic device 901, or asecond controller of the second electronic device 902.

In operation 910, the first electronic device 901 and the secondelectronic device 902 may establish a wired or wireless communicationconnection with each other. The first electronic device 901 maycommunicate with the second electronic device 902 through a firstcommunication module (for example, the communication interface 170 orthe communication module 220 or 417), and the second electronic device902 may communicate with the first electronic device 901 through asecond communication module (for example, the communication interface170 or the communication module 220 or 427).

In operation 915, the second electronic device 902 may display a firstscreen on a second display (for example, the display 160, 260, or 426).The first screen may be a screen of an activated application (that is,an application screen). The second electronic device 902 may execute atleast one application in addition to a home application (that is, anOS), and display a screen of a user-selected application (for example, ahome screen, a message application screen, a memory application screen,or an email application screen). The second electronic device 902 mayexecute a currently unselected (or inactivated) application in thebackground.

In operation 920, the second electronic device 902 may transmit firstscreen data corresponding to the first screen or used to configure thefirst screen to the first electronic device 901 through the secondcommunication module. The first electronic device 901 may receive thefirst screen data from the second electronic device 902 through thefirst communication module.

In operation 925, the first electronic device 901 may display a firstgraphic element and a first screen part configured based on the firstscreen data on a first display (for example, the display 160, 260, or416).

In an embodiment, the first screen part may include at least a part of awhole screen displayed on the second display.

In an embodiment, the first screen part may be a mirrored screen thatthe first electronic device 901 displays with data (or a screen)displayed on the second display, which is received in real time.

In an embodiment, the first graphic element may be at least one of text,an image, a file, an icon, and/or the like.

In operation 930, the first electronic device 901 may detect movement ofthe first graphic element in relation to the first screen part.

In an embodiment, the first electronic device 901 may detect a firstuser input that selects the first graphic element displayed on the firstdisplay. The first electronic device 901 may detect a second user inputthat moves from the position of the selected first graphic element tothe position of the first screen part on the first display.

In an embodiment, the first electronic device 901 may detect a seconduser input that drags the first graphic element to the position of thefirst screen part on the first display.

In an embodiment, the first electronic device 901 may detect a seconduser input (for example, a swipe input or a flick input) that moves fromthe position of the first graphic element toward the first screen parton the first display.

In operation 935, the first electronic device 901 may transmit data (forexample, text or a file) corresponding to the second electronic device902 through the first communication module in response to the movement(or detection of the movement) of the first graphic element.

In operation 940, the second electronic device 902 may display, on thesecond display, a second screen in which a second graphic elementcorresponding to the received data (for example, text or file) isinserted. The first screen may correspond to a screen of an activatedapplication (that is, an application screen), and the second screen maycorrespond to an updated screen of the application, in which the secondgraphic element is inserted.

In operation 945, the second electronic device 902 may transmit secondscreen data corresponding to the second screen or used to configure thesecond screen or a second screen part to the first electronic device 901through the second communication module. The first electronic device 901may receive the second screen data from the second electronic device 902through the first communication module.

In operation 950, the first electronic device 901 may display, on thefirst display, the second screen part configured based on the secondscreen data.

In an embodiment, the second screen part may include at least a part ofa whole screen displayed on the second display.

In an embodiment, the second screen part may be a mirrored screen thatthe first electronic device 901 displays with data (or a screen)displayed on the second display, which is received in real time.

FIG. 10 illustrates a communication system according to variousembodiments. A communication system 1000 may include a first electronicdevice 1011 (for example, the electronic device 101 or 201), and asecond electronic device 1021 (for example, the electronic device 101 or201).

The first electronic device 1011 may include a first display 1016 (forexample, the display 160 or 260) for displaying a screen, a firstcommunication module 1017 (for example, the communication interface 170or the communication module 220) for transmitting data to or receivingdata from an external electronic device, and a first controller 1012(for example, the processor 120 or 210) for executing thefunctionalities of the first electronic device 1011 by controlling thefirst display 1016 and/or the first communication module 1017.

The second electronic device 1021 may include a second display 1026 (forexample, the display 160 or 260) for displaying a screen, a secondcommunication module 1027 (for example, the communication interface 170or the communication module 220) for transmitting data to or receivingdata from an external electronic device, and a second processor 1022(for example, the processor 120 or 210) for executing thefunctionalities of the second electronic device 1021 by controlling thesecond display 1026 and/or the second communication module 1027.

The first controller 1012 may receive first screen data from the secondelectronic device 1021 through the first communication module 1017 anddisplay a first screen part configured based on the first screen data,and a first graphic element on the first display 1016.

A drag event handler 1013 of the first controller 1012 may detect a userinput that drags the first graphic element to the position of the firstscreen part on the first display 1016.

A file analyzer 1014 of the first controller 1012 may generate addressinformation about a file corresponding to the first graphic element inresponse to the detection of the drag input, andtransmit/notify/register the address information to a file downloadserver 1015 of the first controller 1012. For example, the addressinformation (for example, a uniform resource locator (URL)) maycorrespond to the position of the file stored in a first memory (forexample, the memory 130 or 230) of the first electronic device 1011.

The file download server 1015 may transmit the address information tothe second electronic device 1021 by socket communication using thefirst communication module 1017.

A drop receiver 1023 of the second controller 1022 may receive theaddress information through the second communication module 1027. Thedrop receiver 1023 may transmit a file request message including theaddress information to the first electronic device 1011 through thesecond communication module 1027.

The file download server 1015 may transmit the file corresponding to theaddress information to the second electronic device 1021 by socketcommunication through the first communication module 1017 in response tothe file request message received through the first communication module1017.

An attach listener 1024 of the second controller 1022 may store the filereceived through the second communication module 1027 in a second memory(for example, the memory 130 or 230) of the second electronic device1021. The attach listener 1024 may identify a currently activatedapplication, and transmit/notify information about the application andinformation about the file to a clip data processor 1025 of the secondcontroller 1022.

The clip data processor 1025 may generate clip data to be attached to orinserted in a message or text written (or to be transmitted to a thirdelectronic device) through the application based on the informationabout the application and the information about the file.

The second controller 1022 may generate second screen data in which asecond graphic element corresponding to the clip data is inserted as anattached file, an image, text, or the like, display the second screendata on the second display, and transmit the second screen data to thefirst electronic device 1011 through the second communication module1027.

The first controller 1012 may receive the second screen data from thesecond electronic device 1021 through the first communication module1017, and display, on the first display 1016, a second screen partconfigured based on the second screen data.

FIG. 11 illustrates a method for operating a first electronic device anda second electronic device according to various embodiments. The methodfor operating a first electronic device and a second electronic devicemay include operations 1110 to 1160.

A method for operating a first electronic device 1101 (for example, theelectronic device 101, 201, or 411) may be performed by at least one ofthe first electronic device 1101, a first processor (for example, theprocessor 120, 210, or 412) of the first electronic device 1101, or afirst controller (for example, the first controller 1012) of the firstelectronic device 1101.

A method for operating a second electronic device 1102 (for example, theelectronic device 101, 201, or 421) may be performed by at least one ofthe second electronic device 1012, a second processor (for example, theprocessor 120, 210, or 422) of the second electronic device 1101, or asecond controller (for example, the second controller 1022) of thesecond electronic device 1102.

In operation 1110, the first electronic device 1101 and the secondelectronic device 1102 may establish a wired or wireless communicationconnection with each other. The first electronic device 1101 maycommunicate with the second electronic device 1102 through a firstcommunication module (for example, the communication interface 170 orthe communication module 220 or 417), and the second electronic device1102 may communicate with the first electronic device 1101 through asecond communication module (for example, the communication interface170 or the communication module 220 or 427).

In operation 1115, the second electronic device 1102 may display a firstscreen on a second display (for example, the display 160, 260, or 426).The first screen may be a screen of an activated application (that is,an application screen). The second electronic device 1102 may execute atleast one application in addition to a home application (that is, anOS), and display a screen of a user-selected application (for example, ahome screen, a message application screen, a memory application screen,or an email application screen). The second electronic device 1102 mayexecute a currently unselected (or inactivated) application in thebackground.

In operation 1120, the second electronic device 1102 may transmit firstscreen data corresponding to the first screen or used to configure thefirst screen or a first screen part to the first electronic device 1101through the second communication module. The first electronic device1101 may receive the first screen data from the second electronic device1102 through the first communication module.

In operation 1125, the first electronic device 1101 may display a firstgraphic element and a first screen part configured based on the firstscreen data on a first display (for example, the display 160, 260, or416).

In an embodiment, the first screen part may include at least a part of awhole screen displayed on the second display.

In an embodiment, the first screen part may be a mirrored screen thatthe first electronic device 1101 displays with data (or a screen)displayed on the second display, which is received in real time.

In an embodiment, the first graphic element may be at least one of text,an image, a file, an icon, and/or the like.

In operation 1130, the first electronic device 1101 may detect movementof the first graphic element in relation to the first screen part.

In an embodiment, the first electronic device 1101 may detect a firstuser input that selects the first graphic element displayed on the firstdisplay. The first electronic device 1101 may detect a second user inputthat moves from the position of the selected first graphic element tothe position of the first screen part on the first display.

In an embodiment, the first electronic device 1101 may detect a seconduser input that drags the first graphic element to the position of thefirst screen part on the first display.

In an embodiment, the first electronic device 1101 may detect a seconduser input (for example, a swipe input or a flick input) that moves fromthe position of the first graphic element toward the first screen parton the first display.

In operation 1135, the first electronic device 1101 may transmitinformation (for example, address information) related to the firstgraphic element to the second electronic device 1102 through the firstcommunication module.

In operation 1140, the second electronic device 1102 may transmit a filerequest message including the information related to the first graphicelement (for example, the address information) to the first electronicdevice 1101 through the second communication module 1027.

In operation 1145, the first electronic device 1101 may transmit data(for example, text or a file) corresponding to the first graphic elementto the second electronic device 1102 through the first communicationmodule, in response to the file request message.

In operation 1150, the first electronic device 1101 displays, on thesecond display, a second screen in which a second graphic elementcorresponding to the received data (for example, the text or file) isinserted. The first screen may correspond to a screen of an activatedapplication (that is, an application screen), and the second screen maycorrespond to an updated screen of the application, in which the secondgraphic element is inserted.

In operation 1155, the second electronic device 1102 may transmit secondscreen data corresponding to the second screen or used to configure thesecond screen or a second screen part to the first electronic device1101 through the second communication module. The first electronicdevice 1101 may receive the second screen data from the secondelectronic device 1102 through the first communication module.

In operation 1160, the first electronic device 1101 may display, on thefirst display, a second screen part configured based on the secondscreen data.

In an embodiment, the second screen part may include at least a part ofa whole screen displayed on the second display.

In an embodiment, the second screen part may be a mirrored screen thatthe first electronic device 1101 displays with data (or a screen)displayed on the second display, which is received in real time.

FIG. 12 illustrates a method for operating a first electronic device anda second electronic device according to various embodiments. The methodfor operating a first electronic device and a second electronic devicemay include operations 1210 to 1255.

A method for operating a first electronic device 1201 (for example, theelectronic device 101, 201, or 411) may be performed by at least one ofthe first electronic device 1201, a first processor (for example, theprocessor 120, 210, or 412) of the first electronic device 1201, or afirst controller (for example, the first controller 1012) of the firstelectronic device 1201.

A method for operating a second electronic device 1202 (for example, theelectronic device 101, 201, or 421) may be performed by at least one ofthe second electronic device 1012, a second processor (for example, theprocessor 120, 210, or 422) of the second electronic device 1201, or asecond controller (for example, the second controller 1022) of thesecond electronic device 1202.

In operation 1210, the first electronic device 1201 and the secondelectronic device 1202 may establish a wired or wireless communicationconnection with each other. The first electronic device 1201 maycommunicate with the second electronic device 1202 through a firstcommunication module (for example, the communication interface 170 orthe communication module 220 or 417), and the second electronic device1202 may communicate with the first electronic device 1201 through asecond communication module (for example, the communication interface170 or the communication module 220 or 427).

In operation 1215, the second electronic device 1202 may display a firstscreen on a second display (for example, the display 160, 260, or 426).The first screen may be a screen of an activated application (that is,an application screen). The second electronic device 1202 may execute atleast one application in addition to a home application (that is, anOS), and display a screen of a user-selected application (for example, ahome screen, a message application screen, a memory application screen,or an email application screen). The second electronic device 1202 mayexecute a currently unselected (or inactivated) application in thebackground.

In operation 1220, the second electronic device 1202 may transmit firstscreen data corresponding to the first screen or used to configure thefirst screen or a first screen part to the first electronic device 1201,and application information, separately or simultaneously to the firstelectronic device 1201 through the second communication module. Theapplication information may include at least one of a list ofapplications (or application IDs) supported or being executed by thesecond electronic device 1202, or the types (for example, image file,text file, and music file)/formats (for example, file extensions) ofdata that may be processed in each application of the list.

The first electronic device 1201 may receive the first screen data andthe application information from the second electronic device 1202through the first communication module.

In operation 1225, the first electronic device 1201 may display a firstgraphic element and a first screen part configured based on the firstscreen data on a first display (for example, the display 160, 260, or416).

In an embodiment, the first screen part may include at least a part of awhole screen displayed on the second display.

In an embodiment, the first screen part may be a mirrored screen thatthe first electronic device 1201 displays with data (or a screen)displayed on the second display, which is received in real time.

In an embodiment, the first graphic element may be at least one of text,an image, a file, an icon, and/or the like.

In operation 1230, the first electronic device 1201 may detect movementof the first graphic element in relation to the first screen part.

In an embodiment, the first electronic device 1201 may detect a firstuser input that selects the first graphic element displayed on the firstdisplay. The first electronic device 1201 may detect a second user inputthat moves from the position of the selected first graphic element tothe position of the first screen part on the first display.

In an embodiment, the first electronic device 1201 may detect a seconduser input that drags the first graphic element to the position of thefirst screen part on the first display.

In an embodiment, the first electronic device 1201 may detect a seconduser input (for example, a swipe input or a flick input) that moves fromthe position of the first graphic element toward the first screen parton the first display.

In operation 1235, the first electronic device may display at least onegraphic element representing at least one application being executed (orcapable of processing data corresponding to the first graphic element)in the second electronic device 1202 on the first display, in responseto the movement (or detection of the movement of the first graphicelement). The first electronic device 1201 may detect a user input thatselects one of the at least one graphic element.

In an embodiment, the first electronic device 1201 may detect a userinput that drags the first graphic element to the position of one of theat least one graphic element.

In operation 1240, the first electronic device 1201 may transmit data(for example, text or a file) corresponding to the first graphicelement, and/or information (for example, an application ID) about anapplication corresponding to the selected graphic element to the secondelectronic device 1202 through the first communication module.

In operation 1245, the first electronic device 1201 displays, on thesecond display, a second screen in which a second graphic elementcorresponding to the received data (for example, the text or file) isinserted. The first screen may correspond to a screen of an activatedfirst application (that is, an application screen), and the secondscreen may correspond to an updated screen of a user-selected secondapplication, in which the second graphic element is inserted.

In operation 1250, the second electronic device 1202 may transmit secondscreen data corresponding to the second screen or used to configure thesecond screen or a second screen part to the first electronic device1201 through the second communication module. The first electronicdevice 1201 may receive the second screen data from the secondelectronic device 1202 through the first communication module.

In operation 1255, the first electronic device 1201 may display, on thefirst display, a second screen part configured based on the secondscreen data.

In an embodiment, the second screen part may include at least a part ofa whole screen displayed on the second display.

In an embodiment, the second screen part may be a mirrored screen thatthe first electronic device 1201 displays with data (or a screen)displayed on the second display, which is received in real time.

FIGS. 13A and 13B illustrate the method shown in FIG. 12.

As described before with reference to FIGS. 6A, 6B, and 6C, the firstelectronic device 611 (for example, the electronic device 101, 201, or411) may display the screen 620 of the file explorer and the screen 630of the mirroring application on the first display 616 (for example, thedisplay 160, 260, or 426). The first electronic device 611 may detectthe first user input 680 that selects the first graphic element 624 fromamong the plurality of graphic elements 622. The first electronic device611 may detect the second user input 682 that drags the first graphicelement 624 to the position of the first screen part 640.

Referring to FIG. 13A, the first electronic device 611 may display, onthe first display 616, one or more graphic elements 1310 and 1320representing one or more applications being executed (or capable ofprocessing data corresponding to the first graphic element) in thesecond electronic device 651 in response to the second user input 682.

Upon detection of selection of the graphic element 1310 corresponding toa message application, the first electronic device 611 may display, onthe first display 616, the second screen part 640 a in which the secondgraphic element 649 representing the data (or file) corresponding to thefirst graphic element 624 is inserted in the input window 644, asillustrated in FIG. 6E.

Referring to FIG. 13B, upon detection of selection of the graphicelement 1320 corresponding to a memo application, the first electronicdevice 611 may display, on the first display 616, the first graphicelement 624 and/or a second screen part 840 b in which a second graphicelement 849 b corresponding to the data (or file) is inserted in themessage input window 846. The second screen part 840 b may include themenu bar 841, the title input window 844, and the message input window846.

According to various embodiments, a method for operating a firstelectronic device may include displaying a first graphic element and afirst screen part related to a second electronic device on a firstdisplay of the first electronic device, detecting movement of the firstgraphic element in relation to the first screen part, and displaying asecond screen part related to the second electronic device in responseto the movement, a second graphic element corresponding to the firstgraphic element being inserted in the second screen part.

According to various embodiments, the first screen part may include ascreen of an application displayed on a second display of the secondelectronic device.

According to various embodiments, the displaying of the first screenpart may include establishing a connection between the first electronicdevice and the second electronic device, receiving screen datacorresponding to the first screen part from the second electronicdevice, and displaying the first screen part on the first display.

According to various embodiments, data corresponding to the firstgraphic element may be at least one of text, an image, and/or a file.

According to various embodiments, the first screen part may include atleast a part of a whole screen displayed on the second display of thesecond electronic device.

According to various embodiments, the second screen part may include atleast a part of a whole screen displayed on the second display of thesecond electronic device.

According to various embodiments, the detection of movement of the firstgraphic element in relation to the first screen part may includedetecting a first user input selecting the first graphic elementdisplayed on the first display, and detecting a second user input movingfrom a position of the first graphic element to a position of the firstscreen part.

According to various embodiments, the detection of movement of the firstgraphic element in relation to the first screen part may includedetecting a first user input selecting the first graphic elementdisplayed on the first display, and detecting a second user inputdragging the first graphic element to the position of the first screenpart.

According to various embodiments, the detection of movement of the firstgraphic element in relation to the first screen part may includedetecting a first user input selecting the first graphic elementdisplayed on the first display, detecting a second user input movingfrom a position of the first graphic element to a position of the firstscreen part, displaying at least one graphic element representing atleast one application being executed in the second electronic device inresponse to the second user input, and detecting a third user inputselecting one of the at least one graphic element.

According to various embodiments, the detection of movement of the firstgraphic element in relation to the first screen part may includedetecting a first user input selecting the first graphic elementdisplayed on the first display, detecting a second user input movingfrom a position of the first graphic element to a position of the firstscreen part, displaying at least one graphic element representing atleast one application being executed in the second electronic device inresponse to the second user input, and detecting a third user inputdragging the first graphic element to a position of one of the at leastone graphic element.

According to various embodiments, the detection of movement of the firstgraphic element in relation to the first screen part may includedetecting a first user input selecting the first graphic elementdisplayed on the first display, displaying at least one graphic elementrepresenting at least one application being executed in the secondelectronic device in response to the first user input, and detecting athird user input dragging the first graphic element to a position of oneof the at least one graphic element.

According to various embodiments, the first screen part may correspondto a screen of an application being executed in the second electronicdevice, and the second screen part may correspond to an updated screenof the application, the second graphic element being inserted in theupdated screen.

According to various embodiments, the displaying of a second screen partmay include transmitting data corresponding to the first graphic elementto the second electronic device, receiving screen data corresponding tothe second screen part from the second electronic device, and displayingthe second screen part on the first display.

According to various embodiments, the displaying of a second screen partmay include transmitting information related to data corresponding tothe first graphic element (an address corresponding to the data) to thesecond electronic device, receiving a request for transmitting the data(including the address) from the second electronic device, transmittingthe data to the second electronic device in response to the request,receiving screen data corresponding to the second screen part from thesecond electronic device, and displaying the second screen part on thefirst display.

According to various embodiments, the first screen part may correspondto a screen of an application being executed in the second electronicdevice, and data corresponding to the first graphic element may beinserted in a message or text written (or to be transmitted to a thirdelectronic device) through the application.

According to various embodiments, the first screen part may correspondto a screen of an application being executed in the second electronicdevice, and data corresponding to the first graphic element may beincluded as a file in a message or text written (or to be transmitted toa third electronic device) through the application.

According to various embodiments, a method for operating a secondelectronic device may include displaying a first screen on a seconddisplay of the second electronic device, transmitting screen datacorresponding to the first screen to a first electronic device,receiving data from the first electronic device, and displaying a secondscreen in which a second graphic element corresponding to the receiveddata is inserted.

According to various embodiments, the method may further includeestablishing a connection between the first electronic device and thesecond electronic device.

According to various embodiments, the method may further includetransmitting, to the first electronic device, screen data correspondingto the second screen part in which the received data is inserted.

According to various embodiments, the method may further includetransmitting, to the first electronic device, information about at leastone application being executed in the second electronic device.

According to various embodiments, the method may further includetransmitting, to the first electronic device, information about at leastone application being executed in the second electronic device, and thedata may be inserted in a message or text written (or to be transmittedto a third electronic device) through one of the at least application.

According to various embodiments, the method may further includetransmitting, to the first electronic device, information about at leastone application being executed in the second electronic device, and thedata may be attached as a file in a message or text written (or to betransmitted to a third electronic device) through one of the at leastapplication.

According to various embodiments, a first electronic device may includea first display, and a processor configured to display a first graphicelement and a first screen part related to a second electronic device onthe first display, detect movement of the first graphic element inrelation to the first screen part, and display a second screen partrelated to the second electronic device in response to the movement, asecond graphic element corresponding to the first graphic element beinginserted in the second screen part.

According to various embodiments, the processor may be configured toestablish a connection between the first electronic device and thesecond electronic device, receive screen data corresponding to the firstscreen part from the second electronic device, and display the firstscreen part on the first display.

According to various embodiments, the processor may be configured todetect a first user input selecting the first graphic element displayedon the first display, and detect a second user input moving from aposition of the first graphic element to a position of the first screenpart.

According to various embodiments, the processor may be configured todetect a first user input selecting the first graphic element displayedon the first display, and detect a second user input dragging the firstgraphic element to the position of the first screen part.

According to various embodiments, the processor may be configured todetect a first user input selecting the first graphic element displayedon the first display, detect a second user input moving from a positionof the first graphic element to a position of the first screen part,display at least one graphic element representing at least oneapplication being executed in the second electronic device in responseto the second user input, and detect a third user input selecting one ofthe at least one graphic element.

According to various embodiments, the processor may be configured todetect a first user input selecting the first graphic element displayedon the first display, detect a second user input moving from a positionof the first graphic element to a position of the first screen part,display at least one graphic element representing at least oneapplication being executed in the second electronic device in responseto the second user input, and detect a third user input dragging thefirst graphic element to a position of one of the at least one graphicelement.

According to various embodiments, the processor may be configured todetect a first user input selecting the first graphic element displayedon the first display, display at least one graphic element representingat least one application being executed in the second electronic devicein response to the first user input, and detect a third user inputdragging the first graphic element to a position of one of the at leastone graphic element.

According to various embodiments, the processor may be configured totransmit data corresponding to the first graphic element to the secondelectronic device, receive screen data corresponding to the secondscreen part from the second electronic device, and display the secondscreen part on the first display.

According to various embodiments, the processor may be configured totransmit information related to data corresponding to the first graphicelement (an address corresponding to the data) to the second electronicdevice, receive a request for transmitting the data (including theaddress) from the second electronic device, transmit the data to thesecond electronic device in response to the request, receive screen datacorresponding to the second screen part from the second electronicdevice, and display the second screen part on the first display.

According to various embodiments, a second electronic device may includea second display, and a processor configured to display a first screenon the second display, transmit screen data corresponding to the firstscreen to a first electronic device, receive data from the firstelectronic device, and display a second screen in which a second graphicelement corresponding to the received data is inserted.

According to various embodiments, the processor may be configured toestablish a connection between the first electronic device and thesecond electronic device.

According to various embodiments, the processor may be configured totransmit, to the first electronic device, screen data corresponding tothe second screen part in which the received data is inserted.

According to various embodiments, the processor may be configured totransmit, to the first electronic device, information about at least oneapplication being executed in the second electronic device.

According to various embodiments, the processor may be configured totransmit, to the first electronic device, information about at least oneapplication being executed in the second electronic device, and the datamay be inserted in a message or text written (or to be transmitted to athird electronic device) through one of the at least application.

According to various embodiments, the processor may be configured totransmit, to the first electronic device, information about at least oneapplication being executed in the second electronic device, and the datamay be attached as a file in a message or text written (or to betransmitted to a third electronic device) through one of the at leastapplication.

As is apparent from the foregoing description of various embodiments, amethod for easily reflecting data of an external device in an operation(or application) of a portable phone by mirroring is provided.

The term ‘module’ as used herein may include its ordinary meaningincluding, for example, a unit of one, or a combination of two or moreof hardware, software, and firmware. The term ‘module’ may be usedinterchangeably with terms such as, for example, unit, logic, logicalblock, component or circuit. A ‘module’ may be the smallest unit of anintegrated part or a portion thereof. A ‘module’ may be the smallestunit for performing one or more functions, or a portion thereof. A‘module’ may be implemented mechanically, or electronically. Forexample, a ‘module’ may include at least one of a known, orto-be-developed, application-specific integrated circuit (ASIC) chip,field-programmable gate array (FPGA) or programmable logic device thatperform certain operations.

At least a part of apparatuses (for example, modules or their functions)or methods (for example, operations) according to various embodimentsmay be implemented as commands stored in a computer-readable storagemedium, in the form of a programming module. When the commands areexecuted by a processor (for example, the processor 120), one or moreprocessors may execute functions corresponding to the commands. Thecomputer-readable storage medium may be, for example, the memory 130.

The computer-readable medium may include hard disk, floppy disk,magnetic media (for example, magnetic tape), optical media (for example,compact disc read-only memory (CD-ROM)), digital versatile disc (DVD),magneto-optical media (for example, floptical disk), hardware devices(for example, read-only memory (ROM), random access memory (RAM) orflash memory)), and the like. Program instructions may include machinelanguage code that are produced by a compiler or high-level languagecode that may be executed by a computer using an interpreter. Thefunctionalities of hardware discussed above may be implemented as one ormore software modules, and vice versa in order to perform an operationaccording to various embodiments.

A module or a programming module according to various embodiments mayinclude one or more of the above-described components, may omit aportion thereof, or may include additional components. Operations thatare performed by a module, a programming module or other componentsaccording to the present disclosure may be processed in a serial,parallel, repetitive or heuristic manner. Also, some operations may beperformed in a different order or omitted, or additional operations maybe added.

According to various embodiments, in a storage medium storing commands,the commands are configured to, when at least one processor executes thecommands, control the at least one processor to perform at least oneoperation. The at least one operation may include displaying a firstgraphic element and a first screen part related to a second electronicdevice on a first display of a first electronic device, detectingmovement of the first graphic element in relation to the first screenpart, and displaying a second screen part related to the secondelectronic device in response to the movement, a second graphic elementcorresponding to the first graphic element being inserted in the secondscreen part.

Although the present disclosure has been described with an exemplaryembodiment, various changes and modifications may be suggested to oneskilled in the art. It is intended that the present disclosure encompasssuch changes and modifications as fall within the scope of the appendedclaims.

What is claimed is:
 1. A method for operating a first electronic device,the method comprising: controlling a first display of the firstelectronic device to display a first graphic element and a first screenpart corresponding to a screen of a text writing application beingexecuted in a second electronic device on the first display; detectingmovement of the first graphic element in relation to the first screenpart; controlling the first display to display a second screen partcorresponding to the screen of the text writing application beingexecuted in the second electronic device in response to the movement ofthe first graphic element in relation to the first screen part, whereinthe second screen part includes a second graphic element correspondingto the first graphic element; and when a first button included in thesecond screen part is selected on the first display, transmitting, tothe second electronic device, data related to the second graphic elementdisplayed in the second screen part, wherein the transmission of thedata to the second electronic device is configured to cause the secondelectronic device to transmit the data to a third electronic device. 2.The method of claim 1, wherein displaying the first screen partcomprises: establishing a connection between the first electronic deviceand the second electronic device; receiving screen data corresponding tothe first screen part from the second electronic device; and controllingthe first display to display the first screen part on the first display.3. The method of claim 1, wherein detecting movement of the firstgraphic element in relation to the first screen part comprises:detecting a first user input selecting the first graphic elementdisplayed on the first display; and detecting a second user input movingfrom a position of the first graphic element to a position of the firstscreen part.
 4. The method of claim 1, wherein displaying the secondscreen part comprises: transmitting data corresponding to the firstgraphic element to the second electronic device; receiving screen datacorresponding to the second screen part from the second electronicdevice; and controlling the first display to display the second screenpart on the first display.
 5. The method of claim 1, wherein displayingthe second screen part comprises: transmitting information related todata corresponding to the first graphic element to the second electronicdevice; receiving a request for transmitting the data from the secondelectronic device; transmitting the data to the second electronic devicein response to the request; receiving screen data corresponding to thesecond screen part from the second electronic device; and controllingthe first display to display the second screen part on the firstdisplay.
 6. A non-transitory machine-readable storage medium havingrecorded thereon instructions that, when executed, are configured tocause a first electronic device to: control a first display of the firstelectronic device to display a first graphic element and a first screenpart corresponding to a screen of a text writing application beingexecuted in a second electronic device on the first display; detectmovement of the first graphic element in relation to the first screenpart; control the first display to display a second screen partcorresponding to the screen of the text writing application beingexecuted in the second electronic device in response to the movement ofthe first graphic element in relation to the first screen part, whereinthe second screen part includes a second graphic element correspondingto the first graphic element; and when a first button included in thesecond screen part is selected on the first display, transmit, to thesecond electronic device, data related to the second graphic elementdisplayed in the second screen part, wherein the transmission of thedata to the second electronic device is configured to cause the secondelectronic device to transmit the data to a third electronic device. 7.The non-transitory machine-readable storage medium of claim 6, whereinthe instructions are configured to cause the first electronic device todisplay the first screen part by: establishing a connection between thefirst electronic device and the second electronic device; receivingscreen data corresponding to the first screen part from the secondelectronic device; and control the first display to display the firstscreen part on the first display.
 8. The non-transitory machine-readablestorage medium of claim 6, wherein the instructions are configured tocause the first electronic device to detect movement of the firstgraphic element in relation to the first screen part by: detecting afirst user input selecting the first graphic element displayed on thefirst display; and detecting a second user input moving from a positionof the first graphic element to a position of the first screen part. 9.The non-transitory machine-readable storage medium of claim 6, whereinthe instructions are configured to cause the first electronic device todisplay the second screen part by: transmitting data corresponding tothe first graphic element to the second electronic device; receivingscreen data corresponding to the second screen part from the secondelectronic device; and control the first display to display the secondscreen part on the first display.
 10. The non-transitorymachine-readable storage medium of claim 6, wherein the instructions areconfigured to cause the first electronic device to display the secondscreen part by: transmitting information related to data correspondingto the first graphic element to the second electronic device; receivinga request for transmitting the data from the second electronic device;transmitting the data to the second electronic device in response to therequest; receiving screen data corresponding to the second screen partfrom the second electronic device; and control the first display todisplay the second screen part on the first display.
 11. A firstelectronic device comprising: a first display; a communication module;and a processor configured to: control the first display to display afirst graphic element and a first screen part corresponding to a screenof a text writing application being executed in a second electronicdevice on the first display, detect movement of the first graphicelement in relation to the first screen part, control the first displayto display a second screen part corresponding to the screen of the textwriting application being executed in the second electronic device inresponse to the movement of the first graphic element in relation to thefirst screen part, wherein the second screen part includes a secondgraphic element corresponding to the first graphic element, and when afirst button included in the second screen part is selected on the firstdisplay, transmit, via the communication module to the second electronicdevice, data related to the second graphic element displayed in thesecond screen part wherein the transmission of the data to the secondelectronic device is configured to cause the second electronic device totransmit the data to a third electronic device.
 12. The first electronicdevice of claim 11, wherein the processor is configured to: establish aconnection between the first electronic device and the second electronicdevice; receive screen data corresponding to the first screen part fromthe second electronic device; and control the first display to displaythe first screen part on the first display.
 13. The first electronicdevice of claim 11, wherein each of the first screen part and the secondscreen part includes at least a part of a whole screen displayed on asecond display of the second electronic device.
 14. The first electronicdevice of claim 11, wherein the processor is configured to: detect afirst user input selecting the first graphic element displayed on thefirst display; and detect a second user input moving from a position ofthe first graphic element to a position of the first screen part. 15.The first electronic device of claim 11, wherein the processor isconfigured to: detect a first user input selecting the first graphicelement displayed on the first display; detect a second user inputmoving from a position of the first graphic element to a position of thefirst screen part; control the first display to display a graphicelement representing the text writing application being executed in thesecond electronic device in response to the second user input; anddetect a third user input selecting one of the graphic element.
 16. Thefirst electronic device of claim 11, wherein the second screen partcorresponds to an updated screen of the text writing application, thesecond graphic element being inserted in the updated screen.
 17. Thefirst electronic device of claim 11, wherein the processor is configuredto: transmit data corresponding to the first graphic element to thesecond electronic device; receive screen data corresponding to thesecond screen part from the second electronic device; and control thefirst display to display the second screen part on the first display.18. The first electronic device of claim 11, wherein the processor isconfigured to: transmit information related to data corresponding to thefirst graphic element to the second electronic device; receive a requestfor transmitting the data from the second electronic device; transmitthe data to the second electronic device in response to the request;receive screen data corresponding to the second screen part from thesecond electronic device; and control the first display to display thesecond screen part on the first display.
 19. The first electronic deviceof claim 11, wherein the first screen part corresponds to a screen of anapplication being executed in the second electronic device and datacorresponding to the first graphic element is inserted in a message ortext written through the application.
 20. The first electronic device ofclaim 11, wherein the first screen part corresponds to a screen of afirst application being executed in the second electronic device anddata corresponding to the first graphic element is inserted in a messageor text written through a second application.